﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

//若是要映射到nhbernate中的枚举，请在EnumTypeMapping类中增加相应的映射
namespace OA.Common.EnumType
{
    /// <summary>
    /// 权限对象类型
    /// </summary>
    public enum RoleUserType
    {
        /// <summary>
        /// 用户
        /// </summary>
        User = 1,
        /// <summary>
        /// 角色
        /// </summary>
        Role = 2
    }

    /// <summary>
    /// 资源类型
    /// </summary>
    public enum ResourceType
    {
        /// <summary>
        /// 站点
        /// </summary>
        WebSite=1,
        /// <summary>
        /// 菜单
        /// </summary>
        Menu = 2,
        /// <summary>
        /// 权限
        /// </summary>
        Button = 3
    }

    /// <summary>
    /// 字典类型
    /// </summary>
    public enum DictionaryType
    {
        /// <summary>
        /// 字典
        /// </summary>
        Dictionary=1,

        /// <summary>
        /// 数据
        /// </summary>
        Value=2
    }

    public enum ManagerType
    {
        /// <summary>
        /// 普通管理员
        /// </summary>
        Normal=1,

        /// <summary>
        /// 接口用户
        /// </summary>
        API=2,

        /// <summary>
        /// 超级管理员
        /// </summary>
        Super=3
    }
}
